{include file="public/header" /}
<link rel="stylesheet" href="/static/index/css/page/setting.css">
<body>
<div class="build-navbar" data-title="修改<?php echo $title[$type];?>"></div>
<div class="main">

    <form class="layui-form" action="{:url('security/save')}" lay-filter="lay-form">
        <input type="hidden" name="type" value="{$type}"/>
        <div class="vss m-30">
            <div class="item flex items-center justify-between p-30">
                <div class="left flex items-center justify-center">
                    <span class="text">原密码</span>
                </div>
                <div class="right">
                    <input type="password" name="old_password" placeholder="请填写原密码" autocomplete="off" lay-verify="req"/>
                </div>
            </div>
            <div class="item flex items-center justify-between p-30">
                <div class="left flex items-center justify-center">
                    <span class="text">新密码</span>
                </div>
                <div class="right">
                    <input type="password" name="password" placeholder="请填写新密码" autocomplete="off" lay-verify="req"/>
                </div>
            </div>
            <div class="item flex items-center justify-between p-30">
                <div class="left flex items-center justify-center">
                    <span class="text">确认新密码</span>
                </div>
                <div class="right">
                    <input type="password" name="password_confirm" placeholder="确认新密码" autocomplete="off" lay-verify="req"/>
                </div>
            </div>

        </div>
        <div class="btn theme-btn radius-20 fixed-btn b-30" lay-event="formSubmit">保存</div>
    </form>
</div>

</body>
{include file="public/footer"/}

</html>